﻿using System;
using System.IO;

namespace _012_流之向内存流写入内容
{
    class Program
    {
        static void Main(string[] args)
        {
            byte[] 字节数组 = { 155, 16, 3, 200, 77, 9, 21, 24, 60 };

            using (MemoryStream 流之块=new MemoryStream())
            {
                流之块.Write(字节数组);
            }

            Console.WriteLine("内容已写入内存流");
            Console.Read();

        }
    }
}
